const db = require('./index');
const Schema = db.Schema;

/**
 * 挂号费模版
 */
const RegistrationModel = new Schema({
    department: { type: String, require: true },//科室ID
    doctorid: { type: String, require: true },//医生id
    doctorname:{type:String,require:true},// 医生姓名
    price: { type: Number, require: true },//挂号费
    level: { type: String, require: true },//医生级别
    state:{type:String,require:true},//状态
});

const Registration = db.model('Registration', RegistrationModel);
module.exports = Registration;
